import {dataimpService} from '~/config/server';
import {NetService} from '~/utils/net.service';
import {Inject} from '~/core/decorator';
import {Service} from '~/core/service';

export class CaseInfoConfirmService extends Service {
  @Inject(NetService)
  private netService: NetService;

  /**
   * 案件信息确认
   */
  public confirmCaseInfo(data) {
    return this.netService.send({
      server: dataimpService.caseInfoConfirmController.confirmCaseInfo,
      data:{
        batchNumber:data.batchNumber,
        contractNumberList: data.contractNumberList,
        status: data.status
      },
    });
  }
  /**
   * 客户信息确认
   */
  public confirmPersonalInfo(data) {
    return this.netService.send({
      server: dataimpService.caseInfoConfirmController.confirmPersonalInfo,
      data,
    });
  }
  /**
   * 案件确认
   */
  public confirmProductInfo(data) {
    return this.netService.send({
      server: dataimpService.caseInfoConfirmController.confirmProductInfo,
      data,
    });
  }
}
